attach

Re-attach a fragment after it had previously been detached from the UI with detach. This causes its view hierarchy to be re-created, attached to the UI, and displayed.

Return

Returns the same FragmentTransaction instance.

Parameters

fragment

The fragment to be attached.